/*
 * Copyright (c) 2019. J4dream Created.
 */

package com.j4dream.property.service;

import java.util.concurrent.TimeUnit;

public interface CacheService {
    void setValue(String key, String value, long timeout, TimeUnit unit);
    void setValue(String key, String value);
    String getValue(String key);
    void setExpire(String key, long timeout, TimeUnit unit);
    void delKey(String key);
}
